package com.ltkj.order.service;

import java.util.List;
import com.ltkj.order.domain.TicOrderDetails;
import com.ltkj.system.api.domain.AppletOrderDetailVo;
import com.ltkj.system.api.domain.OrderDetailQueryDTO;

/**
 * 订单详情Service接口
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
public interface ITicOrderDetailsService 
{
    /**
     * 查询订单详情
     * 
     * @param orderDetailsId 订单详情主键
     * @return 订单详情
     */
    public TicOrderDetails selectTicOrderDetailsByOrderDetailsId(Long orderDetailsId);

    /**
     * 查询订单详情列表
     * 
     * @param ticOrderDetails 订单详情
     * @return 订单详情集合
     */
    public List<TicOrderDetails> selectTicOrderDetailsList(TicOrderDetails ticOrderDetails);

    /**
     * 新增订单详情
     * 
     * @param ticOrderDetails 订单详情
     * @return 结果
     */
    public int insertTicOrderDetails(TicOrderDetails ticOrderDetails);

    /**
     * 修改订单详情
     * 
     * @param ticOrderDetails 订单详情
     * @return 结果
     */
    public int updateTicOrderDetails(TicOrderDetails ticOrderDetails);

    /**
     * 批量删除订单详情
     * 
     * @param orderDetailsIds 需要删除的订单详情主键集合
     * @return 结果
     */
    public int deleteTicOrderDetailsByOrderDetailsIds(Long[] orderDetailsIds);

    /**
     * 删除订单详情信息
     * 
     * @param orderDetailsId 订单详情主键
     * @return 结果
     */
    public int deleteTicOrderDetailsByOrderDetailsId(Long orderDetailsId);

    List<AppletOrderDetailVo> queryOrderDetail(OrderDetailQueryDTO queryDTO);
}
